* {
    padding: 0;
    margin: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
		body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
    margin: 0;
    padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
}

img {
    border: none;
    vertical-align: middle;
}

ul, ol {
    /*list-style: none;*/
}

.clear {
    *zoom: 1;           /* for IE 6/7 */
}

.clear:before, .clear:after {
    height: 0; 
    content: "";
    font-size: 0;
    display: table;
    line-height: 0;     /* for Opera */
    visibility: hidden;
}

.clear:after {
    clear: both;
}

body {
    font-size: 14px;
    color: #666;
    font-family: "Microsoft YaHei", "微软雅黑", Helvetica, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", Helvetica, Tahoma, "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif; 
    background: #fff;
    text-align: center;
}

#layout {
    text-align: left;
}

#layout > header, .btns {
    padding: 15px 0;
    width: 90%;
    margin: 0 auto;
}

.btns {
    padding-top: 0;
}

.btns button {
    padding: 2px 8px;
}

#layout > header > h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.btns button, .btn {
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    -webkit-transition: background 300ms ease-out;
    transition: background 300ms ease-out;
}

.btns button:hover, .btn:hover {
    background: #f6f6f6;
}



.editormd-html-preview {
    padding-left: 420px!important;
}

.editormd-markdown-toc {
    position: fixed;
    top: 100px;
    width: 400px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.editormd-markdown-toc li {
    line-height: 20px;
    cursor: pointer;
    padding: 10px 0;
    padding-left: 20px;
    display: block;
    color: #333;
    text-decoration: none;
}

.nav {
    height: 100px;
    line-height: 100px;
    padding-left: 420px;
    position: fixed;
    top: 0;
    left: 0;width:400px;
    z-index: 9;
}

.nav .logo {
    width: 400px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    position: fixed;
    top: 0;
    width: 400px;
    left: 0;
    background-color: #00a0e9;padding-left:10px;
}
.nav .logo img{width: 60%;}
.nav-box{width:130px;color: #333;}
.nav-box .nav-item {
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.nav-box .nav-item:hover {
    color: #cdbfe3;
}

/* .btn-change{display: inline-block;font-size: 16px;font-weight: 500;padding-left:20px;cursor: pointer;
    width: 29px;
    height: 20px;
    background: #fff;
    clip-path: polygon(0% 0, 100% 0, 50% 100%, 50% 100%);
} */